package com.po;

import com.utils.JDBCUnits;

import javax.servlet.http.HttpServlet;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;

/**
 * 聊天中的内容
 */
public class chat {
    //who的作用是判断是谁发出的内容，若who为1则是用户自己发送的内容，若是0则是对方发送的内容
    private int who;
    //聊天的内容
    private String chatContent;

    public int getWho() {
        return who;
    }

    public void setWho(int who) {
        this.who = who;
    }

    public String getChatContent() {
        return chatContent;
    }

    public void setChatContent(String chatContent) {
        this.chatContent = chatContent;
    }

}
